func runtime.divRoundUp
11 uses
runtime (current package)
malloc.go#L1107: sizeclass = size_to_class8[divRoundUp(size, smallSizeDiv)]
malloc.go#L1109: sizeclass = size_to_class128[divRoundUp(size-smallSizeMax, largeSizeDiv)]
mbitmap.go#L754: bytes := divRoundUp(s.nelems, 8)
mbitmap.go#L1349: bitmapBytes := divRoundUp(ptrdata, 8*goarch.PtrSize)
mbitmap.go#L1351: pages := divRoundUp(bitmapBytes, pageSize)
mgcmark.go#L63: return int(divRoundUp(bytes, rootBlockBytes))
mgcsweep.go#L642: for i := obj/8 + 1; i < divRoundUp(s.nelems, 8); i++ {
msize.go#L16: return uintptr(class_to_size[size_to_class8[divRoundUp(size, smallSizeDiv)]])
msize.go#L18: return uintptr(class_to_size[size_to_class128[divRoundUp(size-smallSizeMax, largeSizeDiv)]])
pinner.go#L268: return divRoundUp(s.nelems*2, 8)
stubs.go#L434: func divRoundUp(n, a uintptr) uintptr {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |